[TOC]PHP-FPM configuration related one, PHP-FPM configuration
Unlike lamp, in the LNMP architecture, PHP-FPM as a standalone service exists, and since it is a standalone service, it must have its own configuration file. The PHP-FPM
How to Use the supervisor to guard the main php-fpm process for Automatic Restart of php-fpm, supervisorphp-fpm
Recently, a colleague has a monitoring requirement for the php-fpm process, that is, if the master process of the php-fpm unexpectedly
Recently, a colleague has a guardianship requirement for the PHP-FPM process, i.e. if the master process of PHP-FPM quits unexpectedly (possibly crash, it could be a false kill), then the master process is expected to be pulled automatically to
PHP-FPM detailed
Original link: http://php-fpm.anight.org/wiki:http://www.php-fpm.com/Translation: http://syre.blogbus.com/logs/20092011.html
What is FastCGI
FastCGI is a scalable, high-speed interface for communication between Web servers and
Recently, a colleague has a guardianship requirement for the PHP-FPM process, i.e. if the master process of PHP-FPM quits unexpectedly (possibly crash, it could be a false kill), then the master process is expected to be pulled automatically to
ReferenceHttp://syre.blogbus.com/logs/20092011.htmlhttp://www.mike.org.cn/articles/what-is-cgi-fastcgi-php-fpm-spawn-fcgi/Http://www.larro.cn/?p=35Nginx PHP php-fpm CGI fastcgi and so on the relationship between them confusing, Google found a day a
PS aux |grep php-fpm |moreView Total PHP-FPM
php-fpm.conf Configuration
PID string
The location of the PID file. The default is empty.
Error_log string
The location of the error log. Default: Installation path
Here's a summary of some of the most frequently asked questions in recent hiresPhper when asked about your program performance? How much can the concurrency of the program achieve? Where is the bottleneck of the program? How many servers should be
Brief introductionPHP-FPM is actually a patch of PHP source code designed to integrate FASTCGI process management into a PHP package. It must be patch into your PHP source code and can be used after compiling and installing PHP. Now we can download
Php-fpm.conf has two critical parameters: one is "Max_children" and the other is "request_terminate_timeout".
The value of my two settings is "40″, one is" 900″, but this value is not universal, but it needs to be calculated by itself.
The method
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.